import java.sql.Date;


public class VisitedLocation 
{
	private VisitedLocation previousLocation;
	private String locationName;
	private Date dateTime;
	
	public VisitedLocation getPreviousLocation() {
		return previousLocation;
	}
	
	public void setPreviousLocation(VisitedLocation previousLocation) {
		this.previousLocation = previousLocation;
	}
	
	public String getLocationName() {
		return locationName;
	}
	
	public void setCurrentLocationName(String currentLocation) {
		this.locationName = currentLocation;
	}
	
	public Date getDateTime() {
		return dateTime;
	}
	
	public void setDateTime(Date dateTime) {
		this.dateTime = dateTime;
	}
	
	public VisitedLocation(VisitedLocation previousLocation,
			String currentLocation, Date dateTime) {
		super();
		this.previousLocation = previousLocation;
		this.locationName = currentLocation;
		this.dateTime = dateTime;
	}
	
	
}
